<html>
<head>
<title>Meu pedido</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#FFFFFF" text="#000000" link="#000000" vlink="#000000" alink="#000000">
<script language="javascript">
	function valida(form1)
	{
		if(form1.txnome.value=="")
		{
			window.alert('Você esqueceu de informar o seu nome');
			form1.txnome.focus()
			return false;
		}
		else if(form1.txdesc.value=="")
		{
			window.alert('Você esqueceu de informar o local de entrega');
			form1.txdesc.focus()
			return false;
		} 
		return true;
	}
</script>

<?
  include "cabecalho.php" ;
?>
<form name="form1" method="POST" action="fecharpedido.php" onsubmit="return valida(this)" enctype="multipart/form-data" >
<table width="83%" border="0" cellspacing="0" style="margin-top:10px;"> 
  <tr bgcolor="#FFFFFF"> 
    <td width="100%">
      <table width="100%" border="0" cellspacing="0">
		<tr>
                  <td width="20%">
                     <div align="left"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Nome: </font>
                     </div>
                  </td>
                  <td width="80%"> 
                     <input type="text" name="txnome" maxlength="55" size="50">
                  </td>
        </tr>
        <tr>
                  <td width="20%">
                     <div align="left"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Endere&ccedilo de Entrega: </font>
                     </div>
                  </td>
                  <td width="80%"> 
                     <input type="text" name="txdesc" maxlength="255" size="50">
                  </td>
        </tr>
      </table>	 
    </td>
    <td width="29%">&nbsp;</td>
    <td width="32%">&nbsp;</td>
  </tr>
  </table>
  <table>
	  <tr> 
		<td width="47%"><b><input type="submit" name="Submit" value="Fechar Pedido"></b></td>
	  </tr>
  </table>
  </form> 
<?
  include "rodape.php" ;
?>
<p>&nbsp;</p></body>
</html>
